package bingo.spring.config;

import java.util.Properties;

import net.bingosoft.common.config.Config;

/**
 * Feb 27, 2009 9:31:40 AM
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:扩展PropertyPlaceholderConfigurer的目的是让其能够从Config中读取响应的配置信息,进而在开发阶段提供属性动态修改的能力
 * ChangeLog:
 */
public class PropertyPlaceholderConfigurer extends
		org.springframework.beans.factory.config.PropertyPlaceholderConfigurer {

	@Override
	protected String resolvePlaceholder(String placeholder, Properties props) {
		return Config.getString(placeholder, super.resolvePlaceholder(placeholder, props));
	}
	
	

}
